export default {
  namespaced: true,
  state () {
    return {
      profile: {
        name: '小花'
      }
    }
  },
  mutations: {
    // 更新用户信息
    setUser (state, payload) {
      state.profile = payload
    }
  }
}
